home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
COMMUNIC
/
H191.ZIP
/
CA29-4.EXE
/
OVERLAY.DOC
< prev
next >
Wrap
Text File
|
1991-07-22
|
2KB
|
49 lines
-------------------------------------------------------------------------------
910710 COM-AND Script Overlay Page 1
-------------------------------------------------------------------------------
Included in this release is a file overlay archive. It contains:
-------------------------------------------------------------------------------
OVERLAY.ASM
Assembler source file. Compile with "MASM OVERLAY;". This file
defines two overlay routines, one to display a string through
BIOS, and a second to return the segment address.
OVERLAY.OBJ
MASM output from compilation of OVERLAY.ASM. Link with the
command "LINK OVERLAY;" to create EXE file.
OVERLAY.EXE
LINK output. Not directly executable! Properly, would be renamed
to OVERLAY.OVL to prohibit running from the DOS prompt. Convert
to COM format with the command "EXE2BIN OVERLAY.EXE OVERLAY.COM".
OVERLAY.COM
EXE2BIN output. Not directly executable! Could be renamed as
OVERLAY.OVL (as above) to prohibit running from the DOS prompt.
Whether the COM or EXE file is used, the script must have the
proper file name for the executable.
OVERLAY.CMD
COM-AND script to use OVERLAY.EXE or OVERLAY.COM. This script,
when invoked, loads the OVERLAY.EXE (or COM if you change it),
and then invokes the two entry points in the overlay.
--------------------------------------------------------------------
This overlay requires no 'cleanup' on termination. Therefore the
script that loads it does not set an exit script to terminate the
overlay in an orderly manner. Similarly, no end-entry address is
specified in the OVERLAY statement for execution upon termination.
Albeit not a very interesting function proper, OVERLAY demonstrates
the coding and use of machine language subroutines to COM-AND scripts.
Overlays may be coded to interface DOS and BIOS interrupts, or more
sophisticated modules such as the demonstration TALKER.*. Enjoy!